package com.nokia.position;

import java.io.IOException;

import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.mapreduce.Mapper;

import com.nokia.position.PositionProto.Position;
import com.twitter.elephantbird.mapreduce.io.ProtobufWritable;

public class PositionPartitionMapper
		extends
		Mapper<LongWritable, ProtobufWritable<Position>, LongWritable, ProtobufWritable<Position>> {
	
	@Override
	protected void map(LongWritable key, ProtobufWritable<Position> value,
			Context context) throws IOException, InterruptedException {
		context.write(key, value);
	}
}
